/** 
 * Name: net.uni.ap.exp.AjaxException.java
 * Version: 1.0
 * Date: 2011-12-7
 * Author: sunwei
 */
package net.uni.ap.exp;

import java.io.PrintStream;
import java.io.PrintWriter;
/**
 * 处理内容:
 * 
 * @version: 1.0
 * @see:net.uni.ap.exp.AjaxException.java
 * @date:2011-12-7
 * @author:sunwei
 */
public class AjaxException extends Exception {

	/**
	 * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
	 */

	private static final long serialVersionUID = 1L;

	private Throwable paramThrowable = null;

	public Throwable getParamThrowable() {
		return paramThrowable;
	}

	public void setParamThrowable(Throwable paramThrowable) {
		this.paramThrowable = paramThrowable;
	}

	public AjaxException() {
	}

	public AjaxException(String paramString){
		super(paramString);
	}

	public AjaxException(Throwable paramThrowable) {
		this.paramThrowable = paramThrowable;
	}

	public AjaxException(String paramString, Throwable paramThrowable) {
		super(paramString);
		this.paramThrowable = paramThrowable;
	}

	public void printStackTrace() {
		super.printStackTrace();
		if (this.paramThrowable != null)
			this.paramThrowable.printStackTrace();
	}

	public void printStackTrace(PrintStream paramPrintStream) {
		super.printStackTrace(paramPrintStream);
		if (this.paramThrowable != null)
			this.paramThrowable.printStackTrace(paramPrintStream);
	}

	public void printStackTrace(PrintWriter paramPrintWriter) {
		super.printStackTrace(paramPrintWriter);
		if (this.paramThrowable != null)
			this.paramThrowable.printStackTrace(paramPrintWriter);
	}
}
